package com.sie.service;

import com.sie.entity.ViewEmp;
import io.swagger.models.auth.In;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface EmpService {

    Map findByPage(HttpServletRequest request,ViewEmp viewEmp, String bigTime, String small, String page, String size);
    Map update(ViewEmp entity, String password, HttpServletRequest request);
    Map loginNameDetection(String loginName);

    Map addEmp(ViewEmp entity,String password,HttpServletRequest request);

    Map addExcel(MultipartFile file, HttpServletRequest request);

    Map deleteById(String id,HttpServletRequest request) throws Exception;

    Map deleteList(List<String> list,HttpServletRequest request);
}
